<template>
	<div>
		<QRCodeComponent :tvId="tvId" :endTime="endTime" />
	</div>
</template>

<script>
	import QRCodeComponent from '@/components/base/QrCodeGenerator.vue';

	export default {
		components: {
			QRCodeComponent
		},
		data() {
			return {
				tvId: '',
				endTime: ''
			};
		},
		created() {
			this.tvId = this.$route.query.tvId;
			this.endTime = this.$route.query.endTime;
			console.log("获取到了参数" + this.tvId);
			console.log("获取到了参数" + this.endTime);
		}
	};
</script>